Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert overlay vpa enabled from bool to enum #24761

Conversation

huizhifan
Copy link
Contributor

Data Plane API - Pull Request

API Info: The Basics

Most of the information about your service should be captured in the issue that serves as your API Spec engagement record.

  • Link to API Spec engagement record issue:

Is this review for (select one):

  • a private preview
  • a public preview
  • GA release

Change Scope

This section will help us focus on the specific parts of your API that are new or have been modified.
Please share a link to the design document for the new APIs, a link to the previous API Spec document (if applicable), and the root paths that have been updated.

  • Design Document: Address comments
  • Previous API Spec Doc: comment
  • Updated paths: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2023-06-01/managedClusters.json

❔Got questions? Need additional info?? We are here to help!

Contact us!

The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

Click here for links to tools, specs, guidelines & other good stuff

Tooling

Guidelines & Specifications

Helpful Links

@openapi-workflow-bot
Copy link

Hi, @huizhifan! Thank you for your pull request. To help get your PR merged:

  • Ensure you reviewed the checklists in the PR description.
  • Know that PR assignee is the person auto-assigned and responsible for your current PR review and approval.
  • For convenient view of the API changes made by this PR, refer to the URLs provided in the table in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
  • @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 11, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 87 Warnings warning [Detail]
    compared swaggers (via Oad v0.10.4)] new version base version
    managedClusters.json 2023-06-01(cdc8333) 2023-05-01(main)
    managedClusters.json 2023-06-01(cdc8333) 2023-05-02-preview(main)

    The following breaking changes are detected by comparison with the latest preview version:

    Only 30 items are listed, please refer to log for more details.

    Rule Message
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedclustersnapshots' removed or restructured?
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L2603:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots' removed or restructured?
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L2642:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclustersnapshots/{resourceName}' removed or restructured?
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L2684:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/trustedAccessRoles' removed or restructured?
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L2870:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings' removed or restructured?
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L2912:5
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/trustedAccessRoleBindings/{trustedAccessRoleBindingName}' removed or restructured?
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L2957:5
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AgentPoolNetworkProfile' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NodePublicIPTags' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ManagedClusterNodeResourceGroupProfile' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'UpgradeOverrideSettings' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ClusterUpgradeSettings' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AgentPoolWindowsProfile' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ManagedClusterIngressProfile' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ManagedClusterIngressProfileWebAppRouting' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ManagedClusterSecurityProfileNodeRestriction' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ManagedClusterSecurityProfileCustomCATrustCertificates' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ManagedClusterSnapshot' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ManagedClusterSnapshotProperties' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ManagedClusterPropertiesForSnapshot' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NetworkProfileForSnapshot' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NetworkPlugin' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NetworkPluginMode' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NetworkPolicy' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NetworkMode' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NetworkDataplane' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NetworkMonitoring' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'LoadBalancerSku' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'CapacityReservationGroupID' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'TrustedAccessRoleBindingProperties' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'TrustedAccessRoleBinding' removed or renamed?
    New: aks/stable/2023-06-01/managedClusters.json#L2567:3
    Old: aks/preview/2023-05-02-preview/managedClusters.json#L3104:3
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v2.1.3) new version base version
    package-2023-06 package-2023-06(cdc8333) package-2023-06(dev-containerservice-Microsoft.ContainerService-2023-06-01)

    The following errors/warnings exist before current PR submission:

    Only 30 items are listed, please refer to log for more details.

    Rule Message
    OperationsApiResponseSchema The response schema of operations API '/providers/Microsoft.ContainerService/operations' does not match the ARM specification. Please standardize the schema.
    Location: aks/stable/2023-06-01/managedClusters.json#L52
    OperationsApiSchemaUsesCommonTypes Operations API path must follow the schema provided in the common types.
    Location: aks/stable/2023-06-01/managedClusters.json#L53
    ParametersInPointGet Query parameter resource-type should be removed. Point Get's MUST not have query parameters other than api version.
    Location: aks/stable/2023-06-01/managedClusters.json#L80
    GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
    Location: aks/stable/2023-06-01/managedClusters.json#L103
    GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
    Location: aks/stable/2023-06-01/managedClusters.json#L137
    GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
    Location: aks/stable/2023-06-01/managedClusters.json#L260
    ResourceNameRestriction The resource name parameter 'roleName' should be defined with a 'pattern' restriction.
    Location: aks/stable/2023-06-01/managedClusters.json#L278
    ParametersInPost server-fqdn is a query parameter. Post operation must not contain any query parameter other than api-version.
    Location: aks/stable/2023-06-01/managedClusters.json#L336
    ParametersInPost server-fqdn is a query parameter. Post operation must not contain any query parameter other than api-version.
    Location: aks/stable/2023-06-01/managedClusters.json#L381
    ParametersInPost format is a query parameter. Post operation must not contain any query parameter other than api-version.
    Location: aks/stable/2023-06-01/managedClusters.json#L381
    ParametersInPost server-fqdn is a query parameter. Post operation must not contain any query parameter other than api-version.
    Location: aks/stable/2023-06-01/managedClusters.json#L429
    LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
    Location: aks/stable/2023-06-01/managedClusters.json#L553
    PatchResponseCode LRO PATCH must have 200 and 202 return codes.
    Location: aks/stable/2023-06-01/managedClusters.json#L633
    PatchIdentityProperty The patch operation body parameter schema should contain property 'identity'.
    Location: aks/stable/2023-06-01/managedClusters.json#L652
    PatchSkuProperty The patch operation body parameter schema should contain property 'sku'.
    Location: aks/stable/2023-06-01/managedClusters.json#L652
    LroPatch202 The async patch operation should return 202.
    Location: aks/stable/2023-06-01/managedClusters.json#L662
    LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
    Location: aks/stable/2023-06-01/managedClusters.json#L672
    LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
    Location: aks/stable/2023-06-01/managedClusters.json#L719
    ResourceNameRestriction The resource name parameter 'configName' should be defined with a 'pattern' restriction.
    Location: aks/stable/2023-06-01/managedClusters.json#L779
    LroPostReturn A LRO POST operation must have both 200 & 202 return codes.
    Location: aks/stable/2023-06-01/managedClusters.json#L949
    LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
    Location: aks/stable/2023-06-01/managedClusters.json#L1000
    LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
    Location: aks/stable/2023-06-01/managedClusters.json#L1163
    LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
    Location: aks/stable/2023-06-01/managedClusters.json#L1265
    GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
    Location: aks/stable/2023-06-01/managedClusters.json#L1311
    OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'AgentPools' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: aks/stable/2023-06-01/managedClusters.json#L1334
    GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
    Location: aks/stable/2023-06-01/managedClusters.json#L1354
    LroPostReturn 200 response for a LRO POST operation must have a response schema specified.
    Location: aks/stable/2023-06-01/managedClusters.json#L1373
    LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
    Location: aks/stable/2023-06-01/managedClusters.json#L1419
    LroPostReturn 200 response for a LRO POST operation must have a response schema specified.
    Location: aks/stable/2023-06-01/managedClusters.json#L1435
    LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
    Location: aks/stable/2023-06-01/managedClusters.json#L1482
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️TypeSpec Validation succeeded [Detail] [Expand]
    Validation passes for TypeSpec Validation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 11, 2023

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️⚠️SDK Breaking Change Tracking warning [Detail]

    Breaking Changes Tracking



    ⚠️azure-sdk-for-python-track2 - track2_azure-mgmt-containerservice - 24.0.0
    +	Model AgentPool no longer has parameter capacity_reservation_group_id
    +	Model AgentPool no longer has parameter enable_custom_ca_trust
    +	Model AgentPool no longer has parameter message_of_the_day
    +	Model AgentPool no longer has parameter network_profile
    +	Model AgentPool no longer has parameter windows_profile
    +	Model ContainerServiceNetworkProfile no longer has parameter kube_proxy_config
    +	Model ContainerServiceNetworkProfile no longer has parameter monitoring
    +	Model ManagedCluster no longer has parameter creation_data
    +	Model ManagedCluster no longer has parameter enable_namespace_resources
    +	Model ManagedCluster no longer has parameter guardrails_profile
    +	Model ManagedCluster no longer has parameter ingress_profile
    +	Model ManagedCluster no longer has parameter node_resource_group_profile
    +	Model ManagedCluster no longer has parameter service_mesh_profile
    +	Model ManagedCluster no longer has parameter upgrade_settings
    +	Model ManagedClusterAPIServerAccessProfile no longer has parameter enable_vnet_integration
    +	Model ManagedClusterAPIServerAccessProfile no longer has parameter subnet_id
    +	Model ManagedClusterAgentPoolProfile no longer has parameter capacity_reservation_group_id
    +	Model ManagedClusterAgentPoolProfile no longer has parameter enable_custom_ca_trust
    +	Model ManagedClusterAgentPoolProfile no longer has parameter message_of_the_day
    +	Model ManagedClusterAgentPoolProfile no longer has parameter network_profile
    +	Model ManagedClusterAgentPoolProfile no longer has parameter windows_profile
    +	Model ManagedClusterAgentPoolProfileProperties no longer has parameter capacity_reservation_group_id
    +	Model ManagedClusterAgentPoolProfileProperties no longer has parameter enable_custom_ca_trust
    +	Model ManagedClusterAgentPoolProfileProperties no longer has parameter message_of_the_day
    +	Model ManagedClusterAgentPoolProfileProperties no longer has parameter network_profile
    +	Model ManagedClusterAgentPoolProfileProperties no longer has parameter windows_profile
    +	Model ManagedClusterHTTPProxyConfig no longer has parameter effective_no_proxy
    +	Model ManagedClusterLoadBalancerProfile no longer has parameter backend_pool_type
    +	Model ManagedClusterSecurityProfile no longer has parameter custom_ca_trust_certificates
    +	Model ManagedClusterSecurityProfile no longer has parameter node_restriction
    +	Model ManagedClusterStorageProfileDiskCSIDriver no longer has parameter version
    +	Model ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler no longer has parameter controlled_values
    +	Model ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler no longer has parameter update_mode
    +	Operation AgentPoolsOperations.begin_delete no longer has parameter ignore_pod_disruption_budget
    +	Operation ManagedClustersOperations.begin_delete no longer has parameter ignore_pod_disruption_budget
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs] Generate from 04d2ab94bbc098f1bd5e9e6d85c5f279d79e269c. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh]  notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 9.5.1 -> 9.8.0
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.8.0>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-containerservice [View full logs]  [Preview SDK Changes] Breaking Change Detected
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Model AgentPoolUpgradeSettings has a new parameter drain_timeout_in_minutes
      info	[Changelog]   - Model ManagedClusterIdentity has a new parameter delegated_resources
      info	[Changelog]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog]   - Model AgentPool no longer has parameter capacity_reservation_group_id
      info	[Changelog]   - Model AgentPool no longer has parameter enable_custom_ca_trust
      info	[Changelog]   - Model AgentPool no longer has parameter message_of_the_day
      info	[Changelog]   - Model AgentPool no longer has parameter network_profile
      info	[Changelog]   - Model AgentPool no longer has parameter windows_profile
      info	[Changelog]   - Model ContainerServiceNetworkProfile no longer has parameter kube_proxy_config
      info	[Changelog]   - Model ContainerServiceNetworkProfile no longer has parameter monitoring
      info	[Changelog]   - Model ManagedCluster no longer has parameter creation_data
      info	[Changelog]   - Model ManagedCluster no longer has parameter enable_namespace_resources
      info	[Changelog]   - Model ManagedCluster no longer has parameter guardrails_profile
      info	[Changelog]   - Model ManagedCluster no longer has parameter ingress_profile
      info	[Changelog]   - Model ManagedCluster no longer has parameter node_resource_group_profile
      info	[Changelog]   - Model ManagedCluster no longer has parameter service_mesh_profile
      info	[Changelog]   - Model ManagedCluster no longer has parameter upgrade_settings
      info	[Changelog]   - Model ManagedClusterAPIServerAccessProfile no longer has parameter enable_vnet_integration
      info	[Changelog]   - Model ManagedClusterAPIServerAccessProfile no longer has parameter subnet_id
      info	[Changelog]   - Model ManagedClusterAgentPoolProfile no longer has parameter capacity_reservation_group_id
      info	[Changelog]   - Model ManagedClusterAgentPoolProfile no longer has parameter enable_custom_ca_trust
      info	[Changelog]   - Model ManagedClusterAgentPoolProfile no longer has parameter message_of_the_day
      info	[Changelog]   - Model ManagedClusterAgentPoolProfile no longer has parameter network_profile
      info	[Changelog]   - Model ManagedClusterAgentPoolProfile no longer has parameter windows_profile
      info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties no longer has parameter capacity_reservation_group_id
      info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties no longer has parameter enable_custom_ca_trust
      info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties no longer has parameter message_of_the_day
      info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties no longer has parameter network_profile
      info	[Changelog]   - Model ManagedClusterAgentPoolProfileProperties no longer has parameter windows_profile
      info	[Changelog]   - Model ManagedClusterHTTPProxyConfig no longer has parameter effective_no_proxy
      info	[Changelog]   - Model ManagedClusterLoadBalancerProfile no longer has parameter backend_pool_type
      info	[Changelog]   - Model ManagedClusterSecurityProfile no longer has parameter custom_ca_trust_certificates
      info	[Changelog]   - Model ManagedClusterSecurityProfile no longer has parameter node_restriction
      info	[Changelog]   - Model ManagedClusterStorageProfileDiskCSIDriver no longer has parameter version
      info	[Changelog]   - Model ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler no longer has parameter controlled_values
      info	[Changelog]   - Model ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler no longer has parameter update_mode
      info	[Changelog]   - Operation AgentPoolsOperations.begin_delete no longer has parameter ignore_pod_disruption_budget
      info	[Changelog]   - Operation ManagedClustersOperations.begin_delete no longer has parameter ignore_pod_disruption_budget
    ️⚠️ azure-sdk-for-java warning [Detail]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 04d2ab94bbc098f1bd5e9e6d85c5f279d79e269c. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️sdk/resourcemanager/containerservice/armcontainerservice [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New enum type `Enabled` with values `EnabledFalse`, `EnabledTrue`
      info	[Changelog] - New enum type `NodeOSUpgradeChannel` with values `NodeOSUpgradeChannelNodeImage`, `NodeOSUpgradeChannelNone`, `NodeOSUpgradeChannelUnmanaged`
      info	[Changelog] - New enum type `Type` with values `TypeFirst`, `TypeFourth`, `TypeLast`, `TypeSecond`, `TypeThird`
      info	[Changelog] - New struct `AbsoluteMonthlySchedule`
      info	[Changelog] - New struct `DailySchedule`
      info	[Changelog] - New struct `DateSpan`
      info	[Changelog] - New struct `DelegatedResource`
      info	[Changelog] - New struct `MaintenanceWindow`
      info	[Changelog] - New struct `ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler`
      info	[Changelog] - New struct `RelativeMonthlySchedule`
      info	[Changelog] - New struct `Schedule`
      info	[Changelog] - New struct `WeeklySchedule`
      info	[Changelog] - New field `DrainTimeoutInMinutes` in struct `AgentPoolUpgradeSettings`
      info	[Changelog] - New field `MaintenanceWindow` in struct `MaintenanceConfigurationProperties`
      info	[Changelog] - New field `NodeOSUpgradeChannel` in struct `ManagedClusterAutoUpgradeProfile`
      info	[Changelog] - New field `DelegatedResources` in struct `ManagedClusterIdentity`
      info	[Changelog] - New field `VerticalPodAutoscaler` in struct `ManagedClusterWorkloadAutoScalerProfile`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 36 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 04d2ab94bbc098f1bd5e9e6d85c5f279d79e269c. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-containerservice [View full logs]  [Preview SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added Interface AbsoluteMonthlySchedule
      info	[Changelog]   - Added Interface DailySchedule
      info	[Changelog]   - Added Interface DateSpan
      info	[Changelog]   - Added Interface DelegatedResource
      info	[Changelog]   - Added Interface MaintenanceWindow
      info	[Changelog]   - Added Interface ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler
      info	[Changelog]   - Added Interface RelativeMonthlySchedule
      info	[Changelog]   - Added Interface Schedule
      info	[Changelog]   - Added Interface WeeklySchedule
      info	[Changelog]   - Added Type Alias Enabled
      info	[Changelog]   - Added Type Alias NodeOSUpgradeChannel
      info	[Changelog]   - Added Type Alias Type
      info	[Changelog]   - Interface AgentPoolUpgradeSettings has a new optional parameter drainTimeoutInMinutes
      info	[Changelog]   - Interface MaintenanceConfiguration has a new optional parameter maintenanceWindow
      info	[Changelog]   - Interface ManagedClusterAutoUpgradeProfile has a new optional parameter nodeOSUpgradeChannel
      info	[Changelog]   - Interface ManagedClusterIdentity has a new optional parameter delegatedResources
      info	[Changelog]   - Interface ManagedClusterWorkloadAutoScalerProfile has a new optional parameter verticalPodAutoscaler
      info	[Changelog]   - Added Enum KnownEnabled
      info	[Changelog]   - Added Enum KnownNodeOSUpgradeChannel
      info	[Changelog]   - Added Enum KnownType
    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from 04d2ab94bbc098f1bd5e9e6d85c5f279d79e269c. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
    • ️✔️Azure.ResourceManager.ContainerService [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️❌ azure-resource-manager-schemas failed [Detail]
    • Pipeline Framework Failed [Logs] Generate from 04d2ab94bbc098f1bd5e9e6d85c5f279d79e269c. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh]
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
      warn	No file changes detected after generation
      cannot force update branch 'sdkAuto/24761/containerservice' as it is the current HEAD of the repository.
      Error: cannot force update branch 'sdkAuto/24761/containerservice' as it is the current HEAD of the repository.
    • ️✔️containerservice [View full logs
    • ️✔️containerservice [View full logs
      error	Fatal error: cannot force update branch 'sdkAuto/24761/containerservice' as it is the current HEAD of the repository.
      error	The following packages are still pending:
      error		containerservice
      error		containerservice
    ️❌ azure-powershell failed [Detail]
    • Pipeline Framework Failed [Logs] Generate from 04d2ab94bbc098f1bd5e9e6d85c5f279d79e269c. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
      SSL error: syscall failure: Broken pipe
      Error: SSL error: syscall failure: Broken pipe
    • ️✔️Az.containerservice.DefaultTag [View full logs
      error	Fatal error: SSL error: syscall failure: Broken pipe
      error	The following packages are still pending:
      error		Az.containerservice.DefaultTag
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jul 11, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Swagger Microsoft.ContainerService https://apiview.dev/Assemblies/Review/45df5ec8ed84444e8f7ccc53f94c530c
    Go sdk/resourcemanager/containerservice/armcontainerservice https://apiview.dev/Assemblies/Review/1fd5cfba52834ceeb2ba448a564b068b
    Java azure-resourcemanager-containerservicemicrosoftcontainerserviceaks-generated Create ApiView failed. Please ask PR assignee for help
    .Net Azure.ResourceManager.ContainerService Create ApiView failed. Please ask PR assignee for help
    JavaScript @azure/arm-containerservice Create ApiView failed. Please ask PR assignee for help

    "true",
    "false"
    ],
    "x-ms-enum": {
    Copy link
    Member

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    IMO there is no value in doing this in an enum. Just tell the Swagger reviewer we have a pattern of using boolean for addon enablement and they will let us through.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    3 participants